<?php

use Biz\service\activity\DoubleEleven as sDoubleEleven;

/**
 * @deprecated
 */
class DoubleElevenInfoAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_NOTHING;

    public function main()
    {
        $uid = $this->uid;
        $resultData = [
            'list' => sDoubleEleven::lotteryList(),
            'times' => sDoubleEleven::getUserTimes($uid),
            'tips' => sDoubleEleven::tips(),
            'share_info' => sDoubleEleven::shareInfo(),
            'activity_id' => sDoubleEleven::getActivityId(),
            'play' => sDoubleEleven::getPlay(),
            'uid' => $uid,
        ];
        $this->setSuccess($resultData);
    }
}